package qc.common.core.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * EHS风险等级枚举
 *
 * @author QuCheng Tech
 * @since 2024/5/19
 */
@Getter
@AllArgsConstructor
public enum EhsRiskLevelEnum {
    LOW(1, "低风险","blue"),
    GENERAL(2, "一般风险","yellow"),
    GREATER(3, "较大风险","orange"),
    MAJOR(4, "重大风险","red");

    @EnumValue
    private int index;
    private String name;
    private String color;
}
